<%@ page language="java" contentType="text/html; charset=utf-8" %>
<%@ include file= "../blind/connect.jsp" %>
<%@ include file= "../blind/session.jsp" %>
<%

URL url = new URL(urll+"/event/del.jsp");
HttpURLConnection httpCon = (HttpURLConnection) url
		.openConnection();
httpCon.setDoOutput(true);
httpCon.setRequestMethod("POST");
OutputStreamWriter outt = new OutputStreamWriter(
		httpCon.getOutputStream());
outt.write("no="+ request.getParameter("no")); 
outt.close();

InputStream inStrm = httpCon.getInputStream();
int ch;
String rslt = "";
while (((ch = inStrm.read()) != -1)) {
	char temp = (char) ch;
	String str = Character.toString(temp);
	rslt = rslt + str;
}
rslt = rslt.trim();
out.println(rslt);
System.out.println(rslt);
inStrm.close();

httpCon.disconnect();


response.sendRedirect("main.jsp");
%>	
